package com.example.lte.service;


import com.example.lte.entity.OperationLogEntity;

import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.util.concurrent.Future;

/**
 * @author lzh
 * @date 2020/10/23 - 14:20
 */
public interface IAsyncService {
     /**
      * 异步保存日志
      * @param logEntity
      */
     void saveOperationLogByAsync(OperationLogEntity logEntity);

     void sendWebsocketMsgBox(String subscribeUrl,String jsonInfo);

     Future<String> reqChinaZServerInfo();

     Future<String> reqPcOnlineServerInfo();

     Future<String> reqToolLuServerInfo() throws NoSuchProviderException, NoSuchAlgorithmException, KeyManagementException;
}
